﻿using System;

namespace 桥接模式
{
    class Program
    {
        static void Main(string[] args)
        {

            AbRemoteControl abRemoteControl = new ConcreteRemote();

            abRemoteControl.implementor = new ZHIHUIPing();

            abRemoteControl.On();
            abRemoteControl.SetChannel();
            abRemoteControl.Off();

            abRemoteControl.implementor = new XiaoMi();
            abRemoteControl.On();
            abRemoteControl.SetChannel();
            abRemoteControl.Off();
        }
    }
}
